import { Injectable } from '@nestjs/common';

@Injectable()
export class RandomTool {
  // 随机生成数字
  randomCode() {
    return Math.floor(Math.random() * (999999 - 100000)) + 100000;
  }
}
